Why does compressing a gas increase temperature? This simulation demonstrates the adiabatic process.
In Cylinder 1, the piston moves down during collision — increasing the atom’s speed, hence increasing temperature.
Cylinder 2 has a fixed volume. The atom collides elastically but speed doesn't change, so temperature remains constant.
In Cylinder 3, the piston moves up during collision — decreasing the atom’s speed, hence cooling occurs.